<table id='employeeList' class='grid' cellspacing='0' cellpadding='0' style='width: 100%'>
	<thead>
		<tr>
			<th>{translate}Order number{/translate}</th>
			<th>{translate}Name{/translate}</th>
			<th>{translate}User type{/translate}</th>
			<th>{translate}Department/Room{/translate}</th>
		</tr>
	</thead>
	<tbody>
	{if empty($employeeList)}
		<tr>
			<td colspan='4'>{translate}Chưa có nhân sự nào{/translate}</td>
		</tr>
	{else}
		{foreach from=$employeeList item=employee}
		<tr>
			<td>{$index++}</td>
			<td>
				{if $userPage neq true}
				<a href="javascript:loadPage('managementContent', '../HumanResources/EditEmployee', {$employee.person_id})">{$employee.name}</a>
				{else}
					<a href="javascript:loadPage('userManagementContent', 'Edit', {$employee.person_id})">{$employee.name}</a>
				<!-- <a href="javascript:selectEmployee('userManagementContent', '../HumanResources/EditEmployee', {$employee.person_id})">{$employee.name}</a> -->
				{/if}
			</td>
			<td>{$employee.type}</td>
			<td>{$employee.dept}</td>
		</tr>
		{/foreach}
	{/if}
	</tbody>
</table>